Select the design time data source

When designing a report for your Visual Basic application, you can specify any ActiveX data source using the Active Data Driver, or you can specify a data definition file so that the actual data is specified at runtime only. The following example uses the sample data definition file included with Crystal Reports:

  1. Click New Report in the Crystal Reports Welcome dialog box, or click the New button on the Crystal Reports toolbar.
  2. In the Crystal Report Gallery dialog box click Using the Report Expert. In this example, you can click Standard from the Choose an Expert box. Then Click OK.
  3. In the Standard Report Expert Dialog box click Database.
  4. In the Data Explorer dialog box:
  5. In the Select Data Source dialog box click the ODBC (ADO) option, select Xtreme Sample Database from the drop-down list, and then click OK.
  6. In the Data Explorer dialog box click Add.
  7. In the Select Recordset dialog box select Orders from the Object list, and then click OK.
  8. In the Data Explorer dialog box click Close. The Orders table appears as ado in the Tables available for report box, under the data tab, in the Standard Report Expert dialog box.

Note:    For information on specifying an OLE DB provider or other ActiveX data source at design time, see Using ActiveX Data Sources at Design Time.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com